How many of you got the following experiances?

How many of you got the following experiances?

How often you think of these questions?

  • Is the likelihood of a crash is directly proportional to the importance of a document?
  • Is the likelihood of a crash is inversely proportional to the time left before its deadline.
  • Is the likelihood of a crash is directly proportional to the duration since you last saved the doucument?
  • Is the likelihood of you throwing your computer out of the window is directly proportional to the number of times you get a message

    “The file cannot be opened” ?

Are you tired?

These problems can occur when you use more graphics and complex scripts running behind the program.

  • Have you any time typed a document of more than 1000 pages?
  • What if a software or program get you out off all these issues?

What we need?

  • A neat document when you write a report.
  • When you are writing the content, there should not be any deviation such as formatting the document.
  • An automatted numbering system for chapter and section headings.
  • Excellent bibliography management.
  • Even if we go for 100000000 pages document, this should not be painful.

Revolutionists in the type setting world

  • Donald Ervin Knuth (1938)
  • American computer scientist, mathematician
  • Professor emeritus at Stanford University.

Revolutionists in the type setting world

  • In 1978, he created a typesetting system, called Tex (pronounced ‘tech’).
  • Tex gave extremely fine-grained control of document layout.
  • However, the vast flexibility meant it was complex.

Revolutionists in the type setting world

  • Leslie Lamport
  • February 7, 1941
  • American computer scientist
  • Microsoft Research in Mountain View, California.
  • In 1983, created a set of macros that abstracted away many of the complexities of TeX.

What is a \(\LaTeX\)?

  • LaTeX is essentially a markup language.
  • Content is written in plain text
  • Content and the format of the doucument is separated.
  • The LaTeX interpreter reads in a LaTeX marked-up file, renders the content into a document and dumps it a new file.

Separation of content and style

  • When producing your LaTeX document, you are concentrating on the content itself.
  • No deviation from your content.

Portability

  • An actual LaTeX file is merely a text file, which is just about the most portable format in computing.
  • Your data will never be corrupted or missed unless you delete the file itself.
  • Standard output is dvi file which stands for device independent.

Flexibility

  • You can get LaTeX to do just about anything you can think of!
  • There are other crazy packages that you can install which allow you to typeset music scores, chessboards and cross-words!
  • If you’re struggling to do a task, someone will have undoubtedly written a package to solve it easily!

Control

  • LaTeX is much more clever in positioning your images and tables with a lot of common sense.
  • Unlike word processors, it has a high floating sense to place these objects.
  • You can have total control over the presentation of your document.

Quality

  • It’s difficult to disagree that the output from LaTeX is far superior to what Word can produce.
  • High mathematical content, takes the LaTeX to high in quality.
  • Its algorithms for laying out text are more sophisticated and extremely fine-grained.

Scalability

  • In my personal experience, using Word for documents with more than 20 pages has not been a pleasant experience.

  • You are free to split up large documents into smaller chunks and then let LaTeX combine them altogether later (like one chapter per file).

  • It can also create tables of content, indexes and bibliographies easily, even on multi-file projects.

Stability

There is no risk of you ever losing your original source text.

No bounds for the usage.

  • LaTeX can be used as back end for many programming languages such as R, Python, matlab, mathematica, to prepare the report. For example,
library(stargazer)
stargazer(mtcars)

gives the latex code for the table which consists of mtcars data set.

The output

Mind map using LaTeX and tikz

Reproducible Graphs

Cost

“You get what you pay for” fails here…!!!

What are we going to do in this sequence of tutorials?

Build a template for your thesis from the scratch. Thats all!!!

Final output will be…

Title page and table of contents

Chapters may look like…

Contents pages…

Appendices & Bibliography…

Subject Index…